/* auth */

.auth {
  position: relative;
  width: 800px;
  top: 20%;
  margin-left: auto;
  margin-right: auto;
}

.auth h1 {
  text-align: center;
  margin-bottom: 60px;
}

.auth .form-control {
  height: 48px;
  line-height: 2.4;
  font-size: 16px;
  padding: 8px 16px;
}

.auth .btn {
  height: 36px;
  font-size: 16px;
  padding: 8px 16px;
}


/* 顶部菜单模式 */

.page-header {
  position: relative;
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 0;
  border-bottom: 1px solid #eaeaea;
}

.page-header h2 {
  margin-top: 10px;
  font-size: 24px;
}

.page-header .nav-pills {
  line-height: 30px;
}

.page-header .nav-pills a.active {
  background: #666;
  color: #fff;
}

.page-header .navbar-toggle {
  border-color: #ddd;
}

.page-header .navbar-toggle .icon-bar {
  background-color: #888;
}

.sub-header {
  line-height: 30px;
  height: 30px;
  background-color: #fdfcf8;
  border-bottom: 1px solid #eaeaea;
}

.nav-top {
  margin-left: -10px;
}

.nav-top>li>a {
  padding: 0 10px!important;
}

.nav-acts {
  padding-bottom: 10px;
  border-bottom: 1px dotted #e8e8e8;
  margin-bottom: 9px;
}

.nav-acts a {
  background-color: #d9edf7;
}

.nav-side>li>a {
  padding-left: 0;
}

.n-form {
  padding: 20px 0;
}

.table {
  margin-top: 20px;
}

.subtitle {
  font-size: 14px;
  width: 120px;
  display: inline-block;
  margin: 0;
}


/* 侧菜单模式*/

.sidebar {
  width: 199px;
  border-right: 1px solid #eaede8;
  background-color: #fafcf8;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  overflow: hidden;
  transition: all .28s ease-out
}

.main {
  min-height: 100%;
  transition: all .28s ease-out;
  margin-left: 200px;
  z-index: 100;
}

.fold .sidebar {
  width: 64px;
}

.fold .main {
  margin-left: 64px;
}

.sidebar .nav {
  padding: 0;
  position: relative;
}

.sidebar .nav li>a {
  /*padding: 16px 0 16px 30px;*/
  color: #727399;
  letter-spacing: .05em;
  -webkit-transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.sidebar .nav-heading {
  padding: 12px 30px;
  text-transform: uppercase;
  color: #727399;
  font-size: 11px;
  letter-spacing: .035em;
  pointer-events: none;
}

.sidebar .nav .nav>li>a {
  padding-left: 72px;
}

.sidebar .nav>li>a>em, .sidebar .nav>li>.nav-item>em {
  width: 2em;
}


/*二级点*/

.sidebar .nav .nav>li>a:after, .sidebar .nav .nav>li>.nav-item:after {
  content: "";
  display: block;
  position: absolute;
  left: 48px;
  top: 50%;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 500px;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.25);
}


/*二级点*/

.sidebar .nav .nav>li.active>a:after, .sidebar .nav .nav>li.active>.nav-item:after {
  border-color: #0094cb;
  background-color: #0094cb;
}


/* 折叠功能*/

.fold .sidebar {
  overflow: visible !important;
}

.fold .nav-heading {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.fold .sidebar .nav>li>a {
  padding-left: 0;
  padding-right: 0;
  line-height: 40px;
  text-align: center;
}

.fold .sidebar .nav>li>a>em, .sidebar .nav>li>.nav-item>em {
  width: 1em;
  font-size: 18px;
}

.fold .sidebar .nav>li>a>span {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 1px;
  margin-top: 1px;
  padding-left: 20px;
  font-weight: bold;
  line-height: 40px;
  white-space: nowrap;
  z-index: 2002;
}

.fold .sidebar .nav .nav {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  padding-top: 40px;
  min-width: 200px;
  z-index: 2001;
  height: auto !important;
  box-shadow: 0 0 0 #000;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.fold .sidebar .nav li.active .nav, .fold .sidebar .nav>li.active>a>span {
  display: block;
}
.fold .sidebar .nav>li.active>a>span{
  width: 200px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.fold .sidebar .nav .nav>li>a:after, .fold .sidebar .nav .nav>li>.nav-item:after {
  left: 24px;
}

.fold .sidebar .nav .nav>li>a, .fold .sidebar .nav .nav>li>.nav-item {
  padding-left: 48px;
  text-align: left;
  line-height: 24px;
}
